package cn.jiyun.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan("cn.jiyun.user.mapper") // 扫描MyBatis的Mapper接口所在的包
@ComponentScan("cn.jiyun") // 扫描Spring组件所在的包
public class FrontUserApplication {
    public static void main(String[] args) {
        SpringApplication.run(FrontUserApplication.class,args);
    }
}
